#include<bits/stdc++.h>
using namespace std;

const int maxn=100005,maxh=1<<29,maxl=-(1<<29);
int n;

void solve()
{
    int n,A[maxn];
    cin>>n;
    for(int i=0;i<n;i++) cin>>A[i];
    cout<<"1 0 8";
}

int main()
{
    freopen("color.in","r",stdin);
    freopen("color.out","w",stdout);

    int tt; cin>>tt;
    while(tt--)
    {
        solve();
    }

    return 0;
}
